<template>
  <div>
    <el-row :gutter="20">
      <el-col :span="6" :offset="9">
        <div style="background-color: #fff;padding: .2rem; margin-top: 1rem;">
          <h3 class="text-center" style="font-size: .16rem;color: #333;font-weight: 550;padding-bottom: .1rem;">两级DCOOS订单下发</h3>
          <el-form ref="form" :model="form" label-width=".8rem" class="text-center">
            <el-form-item label="客户标识:">
              <el-input v-model="form.custId"></el-input>
            </el-form-item>
            <el-form-item label="批次号:">
              <el-input v-model="form.busiId"></el-input>
            </el-form-item>
            <el-form-item label="ROW_ID:">
              <el-input v-model="form.rowId"></el-input>
            </el-form-item>
            <el-button type="primary" @click="Save">提交</el-button>
          </el-form>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import http from '@/utils/http';
export default {
  name: "govProdOrderSendAgPage",
  data() {
    return {
      form:{
        custId: "",
        busiId: "",
        rowId: "",
      }
    };
  },
  mounted() {
  },
  methods: {
    async Save() {
      let params = { custId: this.form.custId, busiId: this.form.busiId, rowId: this.form.rowId};
      const result = await this.govProductOrderSendAgain(params);
      this.$confirm(result, "提示", {
        confirmButtonText: "确定",
        showCancelButton: false,
        center: true,
      });
    },
    async govProductOrderSendAgain(params) {
      let res = await http({
        url: "/interface-province/govProductOrderSendAgain",
        data: params,
        headers: { 'Content-Type': 'application/json' },
        method: "POST",
      });
      return res;
    },
  },
};
</script>


<style>
</style>
